#!/bin/sh

if [ -x /etc/init.d/nginx -a -e /run/nginx.pid ]; then
    service nginx stop
fi

exit 0
